﻿using System;
using System.CodeDom.Compiler;
using System.Diagnostics;
using Google.Protobuf;
using Google.Protobuf.Reflection;

namespace EggLink.DanhengServer.Proto
{
	// Token: 0x020012B5 RID: 4789
	[DebuggerDisplay("{ToString(),nq}")]
	public sealed class SwordTrainingStartGameCsReq : IMessage<SwordTrainingStartGameCsReq>, IMessage, IEquatable<SwordTrainingStartGameCsReq>, IDeepCloneable<SwordTrainingStartGameCsReq>, IBufferMessage
	{
		// Token: 0x17003C98 RID: 15512
		// (get) Token: 0x0600D6A4 RID: 54948 RVA: 0x00240844 File Offset: 0x0023EA44
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageParser<SwordTrainingStartGameCsReq> Parser
		{
			get
			{
				return SwordTrainingStartGameCsReq._parser;
			}
		}

		// Token: 0x17003C99 RID: 15513
		// (get) Token: 0x0600D6A5 RID: 54949 RVA: 0x0024084B File Offset: 0x0023EA4B
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public static MessageDescriptor Descriptor
		{
			get
			{
				return SwordTrainingStartGameCsReqReflection.Descriptor.MessageTypes[0];
			}
		}

		// Token: 0x17003C9A RID: 15514
		// (get) Token: 0x0600D6A6 RID: 54950 RVA: 0x0024085D File Offset: 0x0023EA5D
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		MessageDescriptor IMessage.Descriptor
		{
			get
			{
				return SwordTrainingStartGameCsReq.Descriptor;
			}
		}

		// Token: 0x0600D6A7 RID: 54951 RVA: 0x00240864 File Offset: 0x0023EA64
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStartGameCsReq()
		{
		}

		// Token: 0x0600D6A8 RID: 54952 RVA: 0x0024086C File Offset: 0x0023EA6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStartGameCsReq(SwordTrainingStartGameCsReq other) : this()
		{
			this.gameStoryLineId_ = other.gameStoryLineId_;
			this._unknownFields = UnknownFieldSet.Clone(other._unknownFields);
		}

		// Token: 0x0600D6A9 RID: 54953 RVA: 0x00240891 File Offset: 0x0023EA91
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public SwordTrainingStartGameCsReq Clone()
		{
			return new SwordTrainingStartGameCsReq(this);
		}

		// Token: 0x17003C9B RID: 15515
		// (get) Token: 0x0600D6AA RID: 54954 RVA: 0x00240899 File Offset: 0x0023EA99
		// (set) Token: 0x0600D6AB RID: 54955 RVA: 0x002408A1 File Offset: 0x0023EAA1
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public uint GameStoryLineId
		{
			get
			{
				return this.gameStoryLineId_;
			}
			set
			{
				this.gameStoryLineId_ = value;
			}
		}

		// Token: 0x0600D6AC RID: 54956 RVA: 0x002408AA File Offset: 0x0023EAAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override bool Equals(object other)
		{
			return this.Equals(other as SwordTrainingStartGameCsReq);
		}

		// Token: 0x0600D6AD RID: 54957 RVA: 0x002408B8 File Offset: 0x0023EAB8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public bool Equals(SwordTrainingStartGameCsReq other)
		{
			return other != null && (other == this || (this.GameStoryLineId == other.GameStoryLineId && object.Equals(this._unknownFields, other._unknownFields)));
		}

		// Token: 0x0600D6AE RID: 54958 RVA: 0x002408E8 File Offset: 0x0023EAE8
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override int GetHashCode()
		{
			int num = 1;
			if (this.GameStoryLineId != 0U)
			{
				num ^= this.GameStoryLineId.GetHashCode();
			}
			if (this._unknownFields != null)
			{
				num ^= this._unknownFields.GetHashCode();
			}
			return num;
		}

		// Token: 0x0600D6AF RID: 54959 RVA: 0x00240927 File Offset: 0x0023EB27
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public override string ToString()
		{
			return JsonFormatter.ToDiagnosticString(this);
		}

		// Token: 0x0600D6B0 RID: 54960 RVA: 0x0024092F File Offset: 0x0023EB2F
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void WriteTo(CodedOutputStream output)
		{
			output.WriteRawMessage(this);
		}

		// Token: 0x0600D6B1 RID: 54961 RVA: 0x00240938 File Offset: 0x0023EB38
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalWriteTo(ref WriteContext output)
		{
			if (this.GameStoryLineId != 0U)
			{
				output.WriteRawTag(56);
				output.WriteUInt32(this.GameStoryLineId);
			}
			if (this._unknownFields != null)
			{
				this._unknownFields.WriteTo(ref output);
			}
		}

		// Token: 0x0600D6B2 RID: 54962 RVA: 0x0024096C File Offset: 0x0023EB6C
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public int CalculateSize()
		{
			int num = 0;
			if (this.GameStoryLineId != 0U)
			{
				num += 1 + CodedOutputStream.ComputeUInt32Size(this.GameStoryLineId);
			}
			if (this._unknownFields != null)
			{
				num += this._unknownFields.CalculateSize();
			}
			return num;
		}

		// Token: 0x0600D6B3 RID: 54963 RVA: 0x002409AA File Offset: 0x0023EBAA
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(SwordTrainingStartGameCsReq other)
		{
			if (other == null)
			{
				return;
			}
			if (other.GameStoryLineId != 0U)
			{
				this.GameStoryLineId = other.GameStoryLineId;
			}
			this._unknownFields = UnknownFieldSet.MergeFrom(this._unknownFields, other._unknownFields);
		}

		// Token: 0x0600D6B4 RID: 54964 RVA: 0x002409DB File Offset: 0x0023EBDB
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		public void MergeFrom(CodedInputStream input)
		{
			input.ReadRawMessage(this);
		}

		// Token: 0x0600D6B5 RID: 54965 RVA: 0x002409E4 File Offset: 0x0023EBE4
		[DebuggerNonUserCode]
		[GeneratedCode("protoc", null)]
		void IBufferMessage.InternalMergeFrom(ref ParseContext input)
		{
			uint num;
			while ((num = input.ReadTag()) != 0U)
			{
				if (num != 56U)
				{
					this._unknownFields = UnknownFieldSet.MergeFieldFrom(this._unknownFields, ref input);
				}
				else
				{
					this.GameStoryLineId = input.ReadUInt32();
				}
			}
		}

		// Token: 0x040055A7 RID: 21927
		private static readonly MessageParser<SwordTrainingStartGameCsReq> _parser = new MessageParser<SwordTrainingStartGameCsReq>(() => new SwordTrainingStartGameCsReq());

		// Token: 0x040055A8 RID: 21928
		private UnknownFieldSet _unknownFields;

		// Token: 0x040055A9 RID: 21929
		public const int GameStoryLineIdFieldNumber = 7;

		// Token: 0x040055AA RID: 21930
		private uint gameStoryLineId_;
	}
}
